package com.moorror.codegenvel.view.window.codegenxrender.domain;

import com.moorror.codegenvel.common.table.AColumnDesc;
import com.moorror.codegenvel.common.table.ColumnValueEnum;
import com.moorror.codegenvel.common.table.bean.AbstractTableStringRow;
import lombok.Data;

/**
 * @Author jiyanghuang
 * @Date 2025/8/24 17:47
 */
@Data
public class TableAddDesc extends AbstractTableStringRow<TableAddDesc> {

    /**
     * 名称
     */
    @AColumnDesc(nameShow = "nameTableOrig", order = 10, cellEditable = false)
    private String nameTableOrig;

    /**
     * 原生列名
     */
    @AColumnDesc(nameShow = "nameTable", order = 20)
    private String nameTable;

    /**
     * 是否已经添加
     */
    @AColumnDesc(nameShow = "appended", order = 30, valueType = ColumnValueEnum.CHECKBOX, cellEditable = false)
    private boolean appended = false;

    /**
     * 此次添加
     */
    @AColumnDesc(nameShow = "toAppend", order = 30, valueType = ColumnValueEnum.CHECKBOX)
    private boolean toAppend = false;


    @AColumnDesc(nameShow = "extColumnJson", order = 40)
    private String extColumnJson;

}
